package jgl.vajra.management.part.mine.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.management.bean.MemberCenterBean;
import jgl.vajra.management.databinding.ActivityMemberCenterBinding;
import jgl.vajra.management.widget.mvvm.model.BaseModel;
import jgl.vajra.management.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.management.widget.mvvm.viewmodel.BaseViewModel;

public class MemberCenterContract {
    public abstract static class Model extends BaseModel {
        public abstract Observable<MemberCenterBean> getMemberCenterData(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void returnMemberCenterData(MemberCenterBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityMemberCenterBinding, Model> {

        public abstract void getMemberCenterData(Map<String, Object> map);
    }
}
